package com.service.seinterface;

import com.domain.User;
import com.domain.result.ResultData;

import java.util.List;


public interface UserService {

    public List<User> login(String username, String password);

    User selectByUsername(String username);

    ResultData addUser(User user);

    ResultData selectAll();

    ResultData deleteUserById(String userid);

    ResultData updateUserById(User user);
}
